﻿using CTS.App.Com.Resources.Strings;
using CTS.Com.Domain.Helper;

namespace CTS.App.Com
{
    public class AppCom
    {
        public static void ApplyResources()
        {
            // Load validate rules
            AppHelper.LoadValidateRules(typeof(AppCom), "CTS.App.Com.ValidateRules.xml");
            // Load message resource
            AppHelper.LoadMessageResources(AppMessages.ResourceManager);
            // Load name resource
            AppHelper.LoadNameResources(AppNames.ResourceManager);
        }
    }
}
